package model.DTO;

public class CategoryUpCrDTO {
    private int id;
    private String name;
    private int sort;
    private int type;

    public CategoryUpCrDTO() {
    }

    public CategoryUpCrDTO(int id, String name, int sort, int type) {
        this.id = id;
        this.name = name;
        this.sort = sort;
        this.type = type;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return sort
     */
    public int getSort() {
        return sort;
    }

    /**
     * 设置
     * @param sort
     */
    public void setSort(int sort) {
        this.sort = sort;
    }

    /**
     * 获取
     * @return type
     */
    public int getType() {
        return type;
    }

    /**
     * 设置
     * @param type
     */
    public void setType(int type) {
        this.type = type;
    }

    public String toString() {
        return "CategoryUpCrDTO{id = " + id + ", name = " + name + ", sort = " + sort + ", type = " + type + "}";
    }
}
